package main

import (
	"fmt"
	"net/http"
	"todo_mod/controller"
	"todo_mod/model"
	"todo_mod/utils"
)

func main() {

	fmt.Println("Todo List ", model.Todos)
	fmt.Println("Hello, world!")
}
func serverBootstrap() {
	http.Handle(http.StripPrefix("/api/todo", http.HandlerFunc(controller.CreateTodoHandler)))
}
func tests() {
	gen := utils.NewDefaultIDGenerator()
	fmt.Println("First ID:", gen.NextID())        // 1
	fmt.Println("Second ID:", gen.NextID())       // 2
	fmt.Println("Latest ID:", gen.GetCurrentID()) // 2
}
